<template>
  <video class="video" :src="url" />
</template>

<script>
export default {
  data() {
    return {
      url: ''
    }
  },
  onLoad(options) {
    console.log('option: ', options)
    let link = decodeURIComponent(options.links);
    console.log('link: ', link)
    // 设置连接地址；
    this.url = link;
  },
}
</script>

<style scoped lang="scss">
.video {
  width: 100%;
  height: 100vh;
}
</style>